import styled from "styled-components";

export const MyMusicLeft = styled.div`
  border-right: 1px solid #d3d3d3;
  background-color: #f9f9f9;
  .scrollDiv {
    padding: 40px 0 50px 0;
    width: 232px;
    height: 990px;
    overflow-y: auto;
    overflow-x: hidden;
    /* position: fixed; */

    ::-webkit-scrollbar {
      width: 8px;
      background: #f9f9f9;
    }
    ::-webkit-scrollbar-thumb {
      width: 8px;
      border-radius: 5px;
      cursor: pointer;
      background: #ececec;
      border: 1px solid #d4d4d4;
      :hover {
        background-color: #898989;
      }
    }
    ::-webkit-scrollbar-track {
      border-radius: 0;
      background: #f9f9f9;
      :hover {
        background: #e4e4e4;
      }
    }
    .syl {
      width: 232px;
      color: #000;
      font-weight: 700;
      font-family: simsun, "宋体";
      display: block;
      text-decoration: none;
      span {
        cursor: pointer;
      }
    }
    .collage {
      .u {
        display: none;
      }
    }
    .gs {
      height: 38px;
      line-height: 38px;
      padding: 0 5px 2px 35px;
      font-size: 14px;
    }
    .sp {
      height: 38px;
      line-height: 38px;
      padding: 0 5px 2px 35px;
      font-size: 14px;
    }
    .gs:hover {
      background-color: #eeeeee;
      cursor: pointer;
    }
    .sp:hover {
      background-color: #eeeeee;
      cursor: pointer;
    }
    .createSong {
      position: relative;
      margin-top: 8px;
      .songbox {
        .cre-song {
          padding: 0 10px 12px 15px;
          display: block;
          height: 28px;
          font-size: 14px;
          .cre-div {
            float: left;
            .tri1 {
              border-color: #ccc transparent transparent;
              border-style: solid dashed dashed;
              border-width: 8px 7px 0;
            }
            .tri {
              display: inline-block;
              vertical-align: middle;
              margin: 0 2px 0 5px;
              cursor: pointer;
              font-size: 0;
              height: 0;
              line-height: 0;
            }
          }
        }
        .create-playlist {
          width: 52px;
          height: 22px;
          background-position: 0 -96px;
          float: right;
          z-index: 888;
          :hover {
            background-position: -94px -39px;
          }
          i {
            display: inline-block;
            line-height: 22px;
            overflow: hidden;
            padding-left: 20px;
            color: #515151;
            font-size: 12px;
            font-weight: normal;
          }
        }
      }

      ul {
        .isCheck {
          background: #e6e6e6;
          :hover {
            background: #e6e6e6;
          }
        }
        li {
          /* background: #e6e6e6; */
          position: relative;
          zoom: 1;
          height: 54px;
          padding: 6px 0 6px 20px;
          cursor: pointer;
          vertical-align: middle;
          :hover {
            background-color: #f4f2f2;
          }
          img {
            width: 40px;
            height: 40px;
            float: left;
          }
          .playlist-text {
            margin-left: 10px;
            float: left;
            p {
              white-space: nowrap;
              color: #000;
              font-size: 12px;
              text-align: left;
              font-weight: normal;
              height: 16px;
              line-height: 16px;
              font-family: Arial, Helvetica, sans-serif;
            }
            .name {
              width: 150px;
              overflow: hidden;
              margin-top: 2px;
              margin-bottom: 8px;
              text-overflow: ellipsis;
              overflow: hidden;
              white-space: nowrap;
            }
            .trackCount {
              color: #999;
            }
          }
        }
      }
    }
  }
`;
